#include "cond3.h"
#include "../libgf_math/gf_math.h"

int testCond3(unsigned char *sbox) {
	unsigned char a;
	unsigned char b;
	char retval;
	
	for(a = 1; a < 16; ++a) {
		for(b = 1; b < 16; ++b) {
			retval = fc(sbox, a, b);
			if(retval*retval > 64)
				return 1;
		}
	}
	
	return 0;
}
